package io.seata.sample.service;

import io.seata.sample.entity.Order;

import java.math.BigDecimal;
/**
 * @Author: linKe
 * @Date: 2022/1/25 10:34
 * @FileName: OrderService
 * @version: 1.0
 * @Description: 描述
 */
public interface OrderService {

    /**
     * 创建订单
     *
     * @param order
     * @return
     */
    void create(Order order);

    /**
     * 修改订单状态
     *
     * @param userId
     * @param money
     * @param status
     */
    void update(Long userId, BigDecimal money, Integer status);
}

